package org.flink.api;

public class Item {
    private String name;
    private Integer id;
    private Long timestamp;

    private String desc;

    public Item() {
    }

    public Item(String name, Integer id, Long timestamp) {
        this.name = name;
        this.id = id;
        this.timestamp = timestamp;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "Item{" +
                "name='" + name + '\'' +
                ", id=" + id +
                ", timestamp=" + timestamp +
                ", desc='" + desc + '\'' +
                '}';
    }
}